<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>客户开发管理</title>
    <%@include file="common.jsp" %>
    <script type="text/javascript" src="/static/js/views/clientExploitation.js"></script>
</head>
<body>
<table id="clientExploitation_datagrid"></table>
<!-- 定义对话框 -->
<div id="clientExploitation_dialog">
    <form id="clientExploitation_form" method="post">
        <input type="hidden" name="id">
        <div align="center" style="margin-top: 10px;">
            <div>
                <select id="developtype_combobox" class="easyui-combobox" name="developtype"
                        data-options="label:'开发类型:',labelPosition:'top', width:150" data-cmd="hide">
                    <option value="0">开发潜在客户</option>
                    <option value="1">潜在客户开发</option>
                </select>
            </div>

            <div id="div1">
                <input class="easyui-combobox" name="client.id"
                       data-options="valueField:'id',textField:'realname',url:'/client/selectPotentialClient',label:'潜在客户:',labelPosition:'top'"/>
            </div>
            <div>
                <input type="text" name="plantime" class="easyui-textbox"
                       data-options="label:'计划实施时间:',labelPosition:'top', width:150">
            </div>
            <div>
                <input type="text" name="plantheme" class="easyui-textbox"
                       data-options="label:'计划主题:',labelPosition:'top', width:150">
            </div>
            <div>
                <input type="text" name="plancontent" class="easyui-textbox"
                       data-options="label:'计划内容:',labelPosition:'top', width:150">
            </div>
            <div>
                <input type="text" name="remark" class="easyui-textbox"
                       data-options="label:'备注:',labelPosition:'top', width:150">
            </div>
        </div>
    </form>
</div>
<!-- 定义实施计划对话框-->
<div id="executePlan_dialog">
    <form id="executePlan_form" method="post">
        <div align="center" style="margin-top: 10px;">
            <div>
                <input type="text" name="id" class="easyui-textbox"
                       data-options="label:'实施计划代号:',labelPosition:'top', width:150">
            </div>
            <div>
                <input type="text" name="executetime" class="easyui-datebox"
                       data-options="label:'实施时间:',labelPosition:'top', width:150">
            </div>
            <div>
                <input type="text" name="executeresult" class="easyui-textbox"
                       data-options="label:'实施效果:',labelPosition:'top', width:150">
            </div>
        </div>
    </form>
</div>
<!-- 定义顶部按钮 -->
<div id="clientExploitation_datagrid_tb">
    <div>
        <a id="clientExploitation_addBtn" class="easyui-linkbutton" iconCls="icon-add" plain="true"
           data-cmd="add">新增</a>
        <a id="clientExploitation_editBtn" class="easyui-linkbutton" iconCls="icon-edit" plain="true"
           data-cmd="edit">编辑</a>
        <a id="clientExploitation_quitBtn" class="easyui-linkbutton" iconCls="icon-remove" plain="true"
           data-cmd="del">删除</a>
        <a class="easyui-linkbutton" iconCls="icon-reload" plain="true" data-cmd="reload">刷新</a>
        <a class="easyui-linkbutton" iconCls="icon-ok" plain="true" data-cmd="executePlan">实施开发计划</a>
    </div>
    <div>
        <input id="searchBtn" type="text">
    </div>
</div>
<!-- 对话框底部按钮 -->
<div id="clientExploitation_dialog_bt">
    <a class="easyui-linkbutton" iconCls="icon-save" plain="true" data-cmd="save">保存</a>
    <a class="easyui-linkbutton" iconCls="icon-cancel" plain="true" data-cmd="cancel">取消</a>
</div>
<!-- 实施计划对话框底部按钮 -->
<div id="executePlan_dialog_bt">
    <a class="easyui-linkbutton" iconCls="icon-save" plain="true" data-cmd="saveExecutePlan">保存</a>
    <a class="easyui-linkbutton" iconCls="icon-cancel" plain="true" data-cmd="cancelExecutePlan">取消</a>
</div>
</body>
</html>